package com.ssmTest.service;

import com.ssmTest.model.MachineUserInformation;
import com.ssmTest.model.Order;
import com.ssmTest.model.UserInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IOrderService {
    int insertOrder(Order order);
    Order selectOrderByID(int id);
    List<Order> orderList(int toexamine);
    List<Order> orderList();
    List<Order> selectOrderByDate(String startdate,String enddate);
    int numberOfOrder(String startdate,String enddate);
    List<Order> selectOrders(int second_party,int pagenum);
    List<Order> selectOrder(int first_party,int pagenum);

    List<Order> selectByPersionalId(int personal_id);

    void updateOrderToexamine(int id,int toexamine);
}
